import {createApp} from 'vue'
import App from './App.vue'
import ArcoVue from '@arco-design/web-vue';
import {router} from "./router/index.js";
import store from "./store/index.js"
import '@arco-design/web-vue/dist/arco.css';
import ArcoVueIcon from '@arco-design/web-vue/es/icon';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import "~/uilti/promisson"
import VueLazyLoad from 'vue-lazyload'

const app = createApp(App);
app.use(router);
app.use(ArcoVue);
app.use(ArcoVueIcon);
app.use(store);
app.use(ElementPlus);
app.use(VueLazyLoad, {
    error: '/img.jpg',                    //报错时需要的图片
    loading: '/img/jpg'				     //加载时需要的图片
})
app.mount('#app')
